﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated) {
%>
        Welcome <b><%: Page.User.Identity.Name %></b>!
        [ <%: Html.ActionLink("Log Off", "LogOff", "Admin") %> ]
<%
    }
    else {
%>      [ <%: Html.ActionLink("Admin Log On", "LogOn", "Admin") %> ]
        <!--[ <a href="#admin_popup" id="adminLogon" onclick="$(this).colorbox({inline:true, width:'50%'})">Admin Log On</a> ]-->
<%
    }
%>
